//
// Created by mgr on 2019/1/3.
//

#include <iostream>
#include <stdexcept>
#include <clicore.h>

#ifndef YDTMONOCLIENT_RUISUIEXCEPTION_H
#define YDTMONOCLIENT_RUISUIEXCEPTION_H

namespace cliMain{
    using namespace std;
    using namespace cliCore;
    class RuisUIException:public RuisException{
    public:
        RuisUIException();
        RuisUIException(int code);
        RuisUIException(LPCTSTR msg);
        RuisUIException(int code,LPCTSTR msg);

        CDuiString getMessage() const;
    private:
        int mCode;
        CDuiString mMsg;
    };
}

#endif //YDTMONOCLIENT_RUISUIEXCEPTION_H
